package com.xc.h05.service.wyl;

import com.github.pagehelper.PageInfo;
import com.xc.h05.entity.User;

import java.util.List;

public interface UserService {
    int login(String username,String password);
    User loginwc(String username,String password);
    PageInfo<User> findAll(Integer pageNum, Integer pageSize);
   int deleteByPrimaryKey(Long id);
    int insert(User record);
    int insertSelective(User record);
    User selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(User record);
    User updateByPrimaryKey(User record);
    List<User> findAll();
}
